package com.example.xitong;

import android.content.Intent;
import android.os.Bundle;

import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.fragment.app.Fragment;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;


public class Nwwd extends Fragment {
public ConstraintLayout c001;
public ImageView iv_01;
View view;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        View view=inflater.inflate(R.layout.fragment_nwwd, container, false);
        // Inflate the layout for this fragment
        setC001(view);
        return view;

    }
    public void setC001(View view){
        this.view = view;
        c001 = view.findViewById(R.id.constraintLayout2);
        iv_01 = view.findViewById(R.id.imageView24);
        c001.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent();
                intent.setClass(getActivity(), Wdtwjhf.class);
                startActivity(intent);
            }
        });
        iv_01.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent();
                intent.setClass(getActivity(), Nwwd_zhongyao.class);
                startActivity(intent);
            }
        });
    }
}
